//
//  UIImage+SWImage.h
//  greenbuilding
//
//  Created by lvjian01 on 2017/9/13.
//  Copyright © 2017年 greenbuilding. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (SWImage)

+ (UIImage *)createImageWithColor:(UIColor *)color;


/**
 压缩图片到指定文件大小

 @param size 目标大小（最大值）
 @return 返回的图片文件
 */
- (NSData *)compressImageToMaxDataSizeKBytes:(CGFloat)size;
+ (UIImage *)createNaviWithColor:(UIColor *)color;

+ (instancetype)sw_placeHolderImage;

+ (instancetype)sw_debugImage;

@end
